package com.example.module_home.device

import android.os.Bundle
import androidx.activity.enableEdgeToEdge
import androidx.appcompat.app.AppCompatActivity
import androidx.core.view.ViewCompat
import androidx.core.view.WindowInsetsCompat
import com.alibaba.android.arouter.facade.annotation.Autowired
import com.alibaba.android.arouter.facade.annotation.Route
import com.alibaba.android.arouter.launcher.ARouter
import com.example.lib_common.view.view.BaseMvvmActivity
import com.example.module_home.R
import com.example.module_home.databinding.ActivityDeviceBinding
import com.example.module_home.databinding.ActivityDeviceDetailBinding
import com.example.module_home.entity.DeviceEntityItem
import dagger.hilt.android.AndroidEntryPoint

@Route(path = "/app/DeviceDetailActivity")
@AndroidEntryPoint
class DeviceDetailActivity : BaseMvvmActivity<ActivityDeviceDetailBinding>() {
    @Autowired
    lateinit var device:DeviceEntityItem


    override fun getLayoutId(): Int =R.layout.activity_device_detail

    override fun initViews() {
        ARouter.getInstance().inject(this)
        binding.orderType.text=device.deviceName
    }

    override fun getActivityState(state: Bundle) {

    }

    override fun saveActivityState(outState: Bundle) {

    }

}